package com.ljx.rabbit.domain.vo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.ljx.rabbit.domain.po.Brand;
import com.ljx.rabbit.domain.po.Categories;
import com.ljx.rabbit.domain.po.Detail;
import com.ljx.rabbit.domain.po.HeadGoods;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ItemVo implements Serializable {
    private Long id;

    private String name;
    private String desc;
    private String price;

    private String oldPrice;
    private String discount;
    private Long inventory; //把每个sku的库存都加起来获得
    private Brand brand; //
    private Integer salesCount;

    private Integer commentCount;

    private Integer collectCount;
    private List<String> mainPictures; //
    private List<SpecsVo> specs;
    private List<SkuVo> skus;
    private List<Categories> categories;//
    private Detail details;//
    private List<HeadGoods> similarProducts;//
    private List<HeadGoods> hotByDay;//
    private LocalDateTime publishTime;
    private Integer recommend;

}
